package com.theaf.basemodule.common.dto;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Author:songwenke
 * @Description:岗位
 * @Date:create in 17:08 2018/3/7
 * @Modified By:
 **/
@Api("岗位")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PositionDTO implements Serializable {
    private Long id;
    @ApiModelProperty("机构类型编码")
    private String orgType;
    @ApiModelProperty("机构类型名称")
    private String orgTypeName;
    @ApiModelProperty("名称")
    private String name;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("创建者")
    private String creater;
    @ApiModelProperty("修改")
    private String updater;
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("更新时间")
    private Date updateTime;
    @ApiModelProperty("岗位权限描述")
    private String posNames;
    @ApiModelProperty("岗位权限ID集合")
    private List<Long> posIds;
    @ApiModelProperty("是否责任岗位")
    private Boolean liablility;
    @ApiModelProperty("机构范围")
    private Long orgRange;
    @ApiModelProperty("机构范围名称")
    private String orgRangeName;
}
